package A14;

public class WireTransfer extends Payment {
    private String bankID; // 银行ID
    private String bankName; // 银行名称

    public WireTransfer(double amount, String bankID, String bankName) {
        super(amount);
        this.bankID = bankID;
        this.bankName = bankName;
    }

    // getter/setter
    public String getBankID() {
        return bankID;
    }

    public String getBankName() {
        return bankName;
    }
}